home *** CD-ROM | disk | FTP | other *** search
- on mouseUp
- global glinevar
- puppetTransition(47, 1, 8)
- set the puppet of sprite 10 to 0
- if glinevar <> -1 then
- if glinevar < 1 then
- alert("You need to select a wheel model first")
- abort()
- end if
- if word 4 of line glinevar of field "mainwheel" contains "None" then
- abort()
- end if
- if word 4 of line glinevar of field "mainwheel" contains "Plain" then
- abort()
- end if
- if word 4 of line glinevar of field "mainwheel" contains "Less" then
- abort()
- end if
- if word 4 of line glinevar of field "mainwheel" contains "Sleeve" then
- abort()
- end if
- if word 4 of line glinevar of field "mainwheel" contains "Radial" then
- abort()
- end if
- if word 4 of line glinevar of field "mainwheel" contains "Delrin" then
- put "Delrin Bearing" into field "f_desfind"
- put "2" into field "f_serfind"
- end if
- if word 4 of line glinevar of field "mainwheel" contains "Ball" then
- put "Ball Bearing" into field "f_desfind"
- put "2" into field "f_serfind"
- end if
- if word 4 of line glinevar of field "mainwheel" contains "Roller" then
- put "Roller Bearing" into field "f_desfind"
- put "3" into field "f_serfind"
- end if
- if word 4 of line glinevar of field "mainwheel" contains "P.Ball" then
- put "Precision Bearing" into field "f_desfind"
- put "4" into field "f_serfind"
- end if
- end if
- WHEELDESFIND()
- play frame "descriptions"
- updateStage()
- end
-